package com.leanote.berial.tingphone.ui;

import android.content.Intent;
import android.os.Handler;
import android.widget.ImageView;

import com.leanote.berial.tingphone.R;
import com.leanote.berial.tingphone.base.BaseActivity;


/**
 * 应用启动页面
 * <p/>
 * Created by anany on 15/7/27.
 */
public class SplashActivity extends BaseActivity {

	private ImageView adImage;

	@Override
	public void initView() {
		setContentView(R.layout.activity_splash);
		adImage = (ImageView) findViewById(R.id.adImage);
	}

	@Override
	protected void onResume() {
		super.onResume();
		Handler handler = new Handler();
		handler.postDelayed(new Runnable() {

			@Override
			public void run() {
				startActivity(new Intent(SplashActivity.this, GuideActivity.class));
				finish();
			}
		}, 2000);
	}

}
